package com.huang.app.launcher

import android.app.Application
import android.view.View
import com.huang.mvvm.action.ActivityActions
import com.huang.mvvm.model.BaseModel
import com.huang.mvvm.vm.base.BaseActivityViewModel
import com.huang.router.router.AppRouter

class MainViewModel(application: Application) : BaseActivityViewModel<BaseModel>(application) {

    override fun getModel(): Class<BaseModel>? = null

    override fun onCreateActions(): ActivityActions? = null

    fun onClickBtn1(view: View) {
        AppRouter.build(AppRouter.DEMO1_ACTIVITY).navigation()
    }

    fun onClickBtn2(view: View) {
        AppRouter.build(AppRouter.DEMO2_ACTIVITY).navigation()
    }

    fun onClickBtn3(view: View) {
        AppRouter.build(AppRouter.DEMO3_ACTIVITY).navigation()
    }

    fun onClickBtn4(view: View) {
        AppRouter.build(AppRouter.DEMO4_ACTIVITY).navigation()
    }

    fun onClickBtn5(view: View) {
        AppRouter.build(AppRouter.DEMO5_ACTIVITY).navigation()
    }

    fun onClickBtn6(view: View) {
        AppRouter.build(AppRouter.DEMO6_ACTIVITY).navigation()
    }

}